<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ReceivePaymentHeader extends Model
{

    protected $fillable = [
        "DocCode",
        "printnum",
        "refcode",
        "DocDate",
        "Doctype",
        "periodid",
        "FormID",
        "cashcode",
        "cashname",
        "bankcode",
        "HDText",
        "summoney",
        "natsummoney",
        "DocStatus",
        "EnterName",
        "EnterDate",
        "ModifyName",
        "ModifyDate",
        "PostName",
        "PostDate",
        "ObjType",
        "companyid",
        "companyname",
        "companyid2",
        "companyname2",
        "cashcode2",
        "cashname2",
        "bankcode2",
        "CancelFlag",
        "blclosed",
        "ClearDocCode",
        "paymethod",
        "deptcode",
        "deptname",
        "orgid",
        "orgname",
        "oppocompanyid",
        "oppocompanyname",
        "refformid",
        "CheckCode",
        "docword",
        "sdgroup",
        "sdgroupname",
        "linkformid",
        "cltbrand",
        "ObjItem",
        "linkcode",
        "olddoccode",
        "cashtypeid",
        "cashtypename",
        "regage",
        "lastprintformid",
        "lastprintdocstatus",
        "lastprintnum",
        "hdcurrency",
        "hdexchange_rate",
        "hdamount",
        "hdnatamount",
        "AccountLinkCode",
        "ReimburseCode",
        "ContractLinkCode",
        "ReimburseName",
        "CautionerCode",
        "CautionerName",
        "Cashier",
        "Checker",
        "HDmemo",
        "Checkflag",
        "LinkDoccode",
        "LinkType",
        "CreateFlag",
        "FTmoney",
        "FTcode",
        "watercode",
        "remitter",
        "pay_at"
    ];

//    protected $casts = [
//        "DocDate" => "date",
//        "EnterDate" => "date",
//        "ModifyDate" => "date",
//        "PostDate" => "date"
//    ];

    public $timestamps = false;
}
